#ifndef _DialogChellange_H_
#define _DialogChellange_H_

class DialogChellange : public CCLayerColor
{
    CCLayer* _layerBase;
    
	bool _initWithLevel(CCNode* parent);
	void _menuCallback(CCMenuItem* sender);
    void _closeDialog();
    
    int _curLevel;
    
    CCLabelAtlas* _labelCurLevel;
    CCLabelTTF* _labelGoal;
    CCLabelTTF* _labelTime;
    CCSprite* _iconClear;
    
public:
    DialogChellange();
    ~DialogChellange();
    
    static DialogChellange* create(CCNode* parent);
    
    void onEnter();
    void onExit();
	bool ccTouchBegan(CCTouch* touch, CCEvent* event);
};

#endif